package com.quan.commons.annotation;

import com.quan.commons.aop.OperationLogAop;
import com.quan.commons.log.DefaultOperationLogPrinter;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * 启用操作日志
 *
 * @author huangyang
 * @since 2020-3-26
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Import({
        OperationLogAop.class,
        DefaultOperationLogPrinter.class
})
public @interface EnableOperationLog {
}
